#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	int old_value;
	char exp[32];
	/* TODO: Add more members if necessary */
} WP;

WP* new_wp();

void free_wp(WP *wp);

bool check_wp();

void delete_wp(int num);

void print_wp();
#endif
